<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title></title>
    <script type="text/javascript" src="/js/taskMenu/TaskMenu.js"></script>
</head>
<body>
<div>
<script>
    TaskMenu.setStyle("/js/taskMenu/Blue/BlueStyle.css");
    window.onload = function()
    {
        TaskMenu.setHeadMenuSpecial(true);

        var item1 = new TaskMenuItem("参数设置", "/js/taskMenu/Image/demo.gif", "parent.window.frames[1].location.href='/admin/siteConfigManage.do'");
        var item11 = new TaskMenuItem("连接管理", "/js/taskMenu/Image/demo.gif", "parent.window.frames[1].location.href='/admin/linkManage.do'");
        var item2 = new TaskMenuItem("退出", "/js/taskMenu/Image/api.gif", "parent.window.frames[1].location.href='/admin/login.do?logout'");
        var item3 = new TaskMenuItem("栏目管理", "/js/taskMenu/Image/copy.gif", "parent.window.frames[1].location.href='/admin/catalogManage.do'");
//        var item4 = new TaskMenuItem("添加栏目", "/js/taskMenu/Image/friends.gif", "parent.window.frames[1].location.href='http://www.okajax.com/bbs'");
        var item5 = new TaskMenuItem("文章管理", "/js/taskMenu/Image/dload.gif", "parent.window.frames[1].location.href='/admin/articleManage.do'");
        var item6 = new TaskMenuItem("添加文章", "/js/taskMenu/Image/update.gif", "parent.window.frames[1].location.href='/admin/articleManage.do?addArticleForm'");
        var item7 = new TaskMenuItem("数据采集", "/js/taskMenu/Image/update.gif", "parent.window.frames[1].location.href='http://www.okajax.com'");
//        var item8 = new TaskMenuItem("添加文章", "/js/taskMenu/Image/update.gif", "parent.window.frames[1].location.href='http://www.okajax.com'");
        var item9 = new TaskMenuItem("<B>ZeroCms</B>");
        var item10 = new TaskMenuItem();
        item10.setLabel("当前版本 <b style='color:purple'>1.0</b>");

        ////////////////////////////////////////////////
        var taskMenu1 = new TaskMenu("后台管理");
        taskMenu1.add(item1);
        taskMenu1.add(item11);
        taskMenu1.add(item2);
        taskMenu1.init();
        var taskMenu2 = new TaskMenu("栏目管理");
        taskMenu2.add(item3);
//        taskMenu2.add(item4);

        taskMenu2.init();
        var taskMenu3 = new TaskMenu("文章管理");
        taskMenu3.add(item5);
        taskMenu3.add(item6);
        taskMenu3.init();
        var taskMenu4 = new TaskMenu("采集管理");
        taskMenu4.add(item7);
        taskMenu4.init();

        var taskMenu5 = new TaskMenu("关于ZeroCms");
        taskMenu5.init();
        taskMenu5.add(item9);
        taskMenu5.add(item10);
    }
</script>
    </div>
</body>
</html>